package com.ny.dao;

import com.ny.entity.Student;

import java.sql.SQLException;

public interface StudentDao {
    Student login(String name, String password) throws Exception;
    int insertStudent(Student student) throws SQLException, ClassNotFoundException;
    int updateStudent(Student student) throws SQLException, ClassNotFoundException;

}
